//
//  WYADView.h
//  广告图
//
//  Created by 王琰 on 15/3/7.
//  Copyright (c) 2015年 王琰. All rights reserved.
//

#import <UIKit/UIKit.h>
//点击图片的回调block
typedef void(^PicOnClick)(NSInteger index);
@interface WYADView : UIView
//图片
@property (nonatomic,strong)NSArray *imgs;
//标题
@property (nonatomic,strong)NSArray *titles;
//广告控件
@property (nonatomic,strong)UIScrollView *scrollView;
//页面显示提醒
@property (nonatomic,strong)UIPageControl *pageControl;
//下方的的文字标签
@property (nonatomic,strong)UILabel *titleLab;
//停止走动效果标志
@property (nonatomic,assign)BOOL stopScrollFlag;
//获取实例的方法
- (instancetype)initWithFrame:(CGRect)frame AndPics:(NSArray *)pics AndTitles:(NSArray *)titles PicMode:(UIViewContentMode)mode;
//图片被点击后的回调事件
- (void)picOnClick:(PicOnClick)picBlock;
@end
